<?php

namespace App\Models;

use Database\Factories\RoleFactory;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class RoleModel extends Model
{
    use HasFactory;

    protected $table = 'roles';

    public $timestamps = false;

    protected $primaryKey = 'role';

    protected $fillable = ['role'];

    protected static function newFactory(): Factory
    {
        return RoleFactory::new();
    }
}
